package com.beauxi.activities;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.beauxi.R;

public class PrincipalActivity extends Activity {
    
	
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.principal);
      
      Button albumButton = (Button)findViewById(R.id.Button01);

      albumButton.setOnClickListener(new View.OnClickListener() {
        public void onClick(View view) {
          Intent intent = new Intent(PrincipalActivity.this, AlbumActivity.class);
          startActivity(intent);
        }

      });
      
      Button mosaicoButton = (Button)findViewById(R.id.Button02);

      mosaicoButton.setOnClickListener(new View.OnClickListener() {
        public void onClick(View view) {
          Intent intent = new Intent(PrincipalActivity.this, MosaicoActivity.class);
          startActivity(intent);
        }

      });
    }
}